Skip to content

check the test#13

Open
femurgia wants to merge 2 commits intopcdshub:mainfrom
femurgia:master
Open

check the test#13
femurgia wants to merge 2 commits intopcdshub:mainfrom
femurgia:master

Conversation

@femurgia
Copy link
Copy Markdown

this is an open pull request test

Description

I sent two commits with no sensel because I had problems with authentication.

Motivation and Context

How Has This Been Tested?

Where Has This Been Documented?

@femurgia femurgia requested a review from klauer February 13, 2023 21:40
Copy link
Copy Markdown
Contributor

@klauer klauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for following along and submitting the PR!

@@ -0,0 +1,8 @@
def test_federica(test):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter test in your function here will is something that pytest will complain about.
It's because "test" isn't defined elsewhere.

Take a look at the example PR that shows how to parametrize the input - it's rather neat:
https://github.com/pcdshub/pcds-ci-test-repo-python/pull/6/files#diff-822bb6cd496579f843d5d333f49b1a4b0b78b43311dfb19d73fa37a7d0a2da14R10-R17

It says "use these values for the input parameter value and expect this to be the result". You write the test once and use a bunch of input parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants